#ifndef _TEXTRENDERPASS_H_
#define _TEXTRENDERPASS_H_
#include <SERender/Renderer/RenderPass/RenderPass.h>
#include <SERender/Resourses/FrameBuffer.h>
#include <vector>

namespace SEngine
{
    class TestRenderPass : public RenderPass
    {
    public:
        TestRenderPass(Renderer & renderer);
        virtual ~TestRenderPass() = default;
        virtual void BeginFrame() override;
        virtual void DrawFrame() override;
        virtual void EndFrame() override {}
        std::vector<uint32_t> GetID(int x, int y, int w, int h);
    private:
        std::unique_ptr<FrameBuffer> m_idFBO;
        std::unique_ptr<Texture2D> m_idMap;
    };
} // namespace SEngine


#endif